package com.hopes.bizz.risk.common.constant.enums;

import com.hopes.boss.admin.api.resolver.EnumResolver;
import com.hopes.boss.admin.api.resolver.IDict;

/**
 * @author daijie
 * @version 1.0
 * @date 2023/7/24 10:24
 * @Description:
 */
public enum RiskIntegralDicEnum implements EnumResolver<IDict> {
    /**
     * 积分事件
     */
    risk_integral_event,
    /**
     * 积分商品状态
     */
    risk_integral_goods_status,
    /**
     * 商品发放状态
     */
    integral_goods_issue_status,
    /**
     * 商品确认状态
     */
    integral_goods_confirm_status,
    /**
     * 积分兑换审核状态
     */
    integral_goods_audit_status,
    /**
     * 积分兑换审核结果
     */
    integral_goods_audit_result,

    /**
     * 处理结论
     */
    handle_conclusion,
    ;

    private String methodName;

    private final Class<IDict> remoteClass = IDict.class;

    RiskIntegralDicEnum() {
    }

    RiskIntegralDicEnum(String methodName) {
        this.methodName = methodName;
    }

    @Override
    public String getType() {
        return this.name();
    }

    @Override
    public String getMethodName() {
        return methodName;
    }

    @Override
    public Class<? extends IDict> getRemoteClass() {
        return remoteClass;
    }
}
